export const rules = {
  account: [
    { pattern: /^\w{4,10}$/, message: '账号长度在4-10个字符' },
    {
      required: true,
      message: '账号不能为空！',
      trigger: 'blur'
    }
  ],
  password: [
    { pattern: /^\w{6,16}$/, message: '密码长度在6-16个字符' },
    {
      required: true,
      message: '密码不能为空！',
      trigger: 'blur'
    }
  ]
}
